
const apiurl='https://lovewithme.top'
const api = {
    Login: apiurl+'/accounts/login',
    GetUser:apiurl+'/accounts/getuser&u=',
    GetFiles:apiurl+'/file/eassy?format=json',
    GetVideo:apiurl+'/file/video?format=json',
    GetSDK:apiurl+'/file/sdk?format=json',
    Getcode:apiurl+'/accounts/code/',
    Reg:apiurl+'/accounts/reg/',
    Node:apiurl+'/mqtt/api/auth_node?format=json',
    Client:apiurl+'/mqtt/api/auth_client',
    ReadClient:apiurl+'/mqtt/api/auth_client&u=',
    deleteClient:apiurl+'/mqtt/api/auth_client&c=',
    clientinfo:apiurl+'/mqtt/api/getconnect&c=',
    location:apiurl+'/mqtt/api/getlocation&ip=',
    GetLastdata:apiurl+'/mqtt/api/getdata&c=',
    Subscribe:apiurl+'/mqtt/api/subscribe',
    Subscriptions:apiurl+'/mqtt/api/subscriptions&c=',
    Unsubscribe:apiurl+'/mqtt/api/unsubscribe',
    Publish:apiurl+'/mqtt/api/publish',
    Getdata:apiurl+'/mqtt/api/data&d=msg&c=',
    ChangePass:apiurl+'/accounts/modifypassword',
    Vifcode:apiurl+'/accounts/vifcode',
    ModfiyPass:apiurl+'/accounts/modifypassword',
    SendEmail:apiurl+'/accounts/changepwd',
    ClientLog:apiurl+'/mqtt/api/getclientlog&u=',
    SubLog:apiurl+'/mqtt/api/getsublog&u=',
    getNews:apiurl+'/other/getnews',
    getcount:apiurl+'/mqtt/api/count&u=',
    create:apiurl+'/mqtt/api/auth_app',
    getApp:apiurl+'/mqtt/api/auth_app&u=',
    deleteApp:apiurl+'/mqtt/api/auth_app&a='

};
export default api
